package com.bestcem.xm.user.constant;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * 用户外部缓存-Key
 *
 * @author wangyunyun <yunyun.wang@idiaoyan.com>
 * @version v1.0
 * @date 2022/3/1 14:30
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class UserOutterCacheKeyConstant {

    /**
     * 微信unionid f"{wx_mini_session_prefix}:{session_id}" get set
     */
    public static final String WX_MINI_SESSION_PREFIX = "wx_mini_session";

    /**
     * 用户的微信数据 f"{wx_mini_prefix}:{session_id}" get set
     */
    public static final String WX_MP = "wx_mp";

    /**
     * 用户的微信数据 f"{wxdata_key_prefix}{session_id}"  get set del
     */
    public static final String USER_WX_DATA = "User:wx_data";

}
